package com.zatech.cgnci.project.service;

import cn.hutool.poi.excel.ExcelWriter;
import com.zatech.cgnci.project.entity.CgnciOutstandingClaimsReserveDO;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 未决赔款准备金评估表 服务类
 * </p>
 *
 * @author Generator
 * @since 2025-01-20
 */
public interface CgnciOutstandingClaimsReserveService extends IService<CgnciOutstandingClaimsReserveDO> {


    /**
     * 导入假设模版
     * @param file
     */
    void importClaimsReserve(MultipartFile file);

    /**
     * 导出模版或带数据的模版
     * @param derivedData
     * @return
     */
    ExcelWriter exportAll(Boolean derivedData);

    /**
     * 查询模版数据
     * @return
     */
    List<CgnciOutstandingClaimsReserveDO> selectAll();
}
